<?php
	$section = $_GET['section'];
	function showDot($section_id) {
		global $section;
		if ($section_id === $section) 
			echo "<img class='dot-red' src='wp-content/themes/zhuli/img/dot-red.png'>";
		else
			echo "<img src='wp-content/themes/zhuli/img/dot.png'>";
	}
?>
<div class='fixed-nav-bar'>
	<img class='dot-red' src='<?php bloginfo('template_url'); ?>/img/dot-red.png'>
	<div class='content-area'>					
		<div class='logo'>
			<div></div>
			<!-- <div class='bold'>leader</div>
			<div class='light'>photography</div> -->
		</div>
		<div class='nav-meter'>						
			<table class='nav-labels'>
				<tbody>
					<tr>								
						<td class='nav-label' id='nav-news'>
							<a href='articles.php?section=news' title='新闻'>news</a>
							<div class='dot'>
								<?php 
									showDot('news');
								?>						
							</div>
						</td>
						<td class='nav-label' id='nav-shows'>
							<a href='gallery.php?section=shows' title='印记大赏'>shows</a>
							<div class='dot'>								
								<?php 
									showDot('shows');
								?>
							</div>
						</td>
						<td class='nav-label' id='nav-barbie'>
							<a href='articles.php?section=barbie-house' title='芭比馆'>barbie house</a>
							<div class='dot'>
								<?php 
									showDot('barbie-house');
								?>
							</div>
						</td>
						<td class='nav-label' id='nav-service'>
							<a href='services.php?section=services' title='服务'>service</a>
							<div class='dot'>
								<?php 
									showDot('services');
								?>
							</div>
						</td>
						<td class='nav-label' id='nav-about'>
							<a href='articles.php?section=about' title='关于我们'>about us</a>
							<div class='dot'>
								<?php 
									showDot('about');
								?>
							</div>
						</td>
						<td class='nav-label' id='nav-payment'>
							<a href='http://zhulisy.tmall.com/' title='在线付款'>online payment</a>
							<div class='dot'>
								<?php 
									showDot('payment');
								?>
							</div>
						</td>
						<td class='nav-label' id='nav-forum'>
							<a href='http://bbs.zhulisy.com/' title=’论坛''>forum</a>
							<div class='dot'>
								<?php 
									showDot('forum');
								?>
							</div>
						</td>
					</tr>
				</tbody>
			</table>
			<div class='bar'>
			</div>

			<!-- <div class='dot-red'><span></span></div> -->
		</div>
	</div>
</div>